package com.xln.demo9多态的应用综合;
public class Duizhan extends Game {

    private String yingxiong = "零";
    protected String name = "CF";

    @Override
    public void play() {
        super.play();
        System.out.printf("玩CF！\n");
    }
    public void xiabao(){
        System.out.printf("安装C4！\n");
    }
}
